* {
  margin: 0;
  padding: 0;
}

@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}

:root {
  --card-height: 65vh;
  --card-width: calc(var(--card-height) / 1.5);
}

body {
  min-height: 100vh;
  background: #212534;
  align-items: center;
  flex-direction: column;
  padding-top: 2rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
  display: flex;
}

h1 {
  color: #fff;
  margin: 1em;
  font-family: serif;
}

.box {
  display: flex;
  justify-content: space-around;
  width: 95%;
}

.card {
  background: #191c29;
  width: 13vw;
  height: 45vh;
  padding: 3px;
  position: relative;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: flex;
  font-size: 2em;
  color: rgb(88 199 250 / 0%);
  cursor: pointer;
  font-family: cursive;
}

.card:hover {
  color: rgb(88 199 250 / 100%);
  transition: color 1s;
}

.card:hover:before,
.card:hover:after {
  animation: none;
  opacity: 0;
}

.card::before {
  content: "";
  width: 104%;
  height: 102%;
  border-radius: 8px;
  background-image: linear-gradient(
    var(--rotate),
    #5ddcff,
    #3c67e3 43%,
    #4e00c2
  );
  position: absolute;
  z-index: -1;
  top: -1%;
  left: -2%;
  animation: spin 2.5s linear infinite;
}

.card::after {
  position: absolute;
  content: "";
  top: calc(var(--card-height) / 6);
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.8);
  filter: blur(calc(var(--card-height) / 6));
  background-image: linear-gradient(
    var(--rotate),
    #5ddcff,
    #3c67e3 43%,
    #4e00c2
  );
  opacity: 1;
  transition: opacity 0.5s;
  animation: spin 2.5s linear infinite;
}

@keyframes spin {
  0% {
    --rotate: 0deg;
  }
  100% {
    --rotate: 360deg;
  }
}

.fangdajing {
  position: absolute;
  left: 20%;
  bottom: 10%;
  width: 80px;
  height: 80px;
  background-image: url("https://image.xcar.com.cn/attachments/a/day_120121/2012012118_ec1ce64916eda6f61367ZsBorn4bsUR3.jpg");
  background-size: 1000%;
  background-position: -130px 230px;
  border-radius: 50%;
  border: 1.3px solid #000;
}


/* kaixiang */
.kaixiang {
  display: none;
  width: 100%;
  height: 100%;
  justify-items: center;
  background-color: #ecf9ff;
  overflow: hidden;
}

.kaixiang div {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 1vw 2vw -0.5vw,
    rgba(0, 0, 0, 0.3) 0px 0.5vw 1vw -1vw;
}
.kaixiang .bgcimg {
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url("https://t11.baidu.com/it/u=1640647607,191841565&fm=30&app=106&f=JPEG?w=640&h=417&s=EA02018D140338FD16913C8703001082");
}



/* kaixiang */